package org.example.mapper;

import org.apache.ibatis.annotations.Param;
import org.example.model.CouponTaskDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author LinN
 * @since 2022-10-16
 */
public interface CouponTaskMapper extends BaseMapper<CouponTaskDO> {

    /**
     * 批量插入到锁定优惠券记录表
     */
    int insertCouponTaskBatch(@Param("couponTaskDOList") List<CouponTaskDO> couponTaskDOList);
}
